package se.webbzon.boltzmann.loader;

import java.util.Collection;
import java.util.Map;

public interface Loader {
	
	/** Returns the name of the resource category. **/
	public String getCategory();
	
	/** Returns a collection of all supported resources by the resource name. **/
	public Collection<String> getSupportedResources();
	
	/** Loads a resource with a given resource name. This method provides an
	 * URL pointer to the resource, the name of the resource (the resource type)
	 * and a map containing all attributes of the resource. **/
	public void load(	LoaderUtilityPointer pointer, 
						String resourceName, 
						Map<String,String> attributeMap) 
			throws LoaderException;
	
}
